import copy

aaa = [1, 1, 2]
aa = [1, 2, 3, 4, '12', '34']

a = [1, 2, 3, 4, '12', '34', aa]

b = a  # 复制?

print(a)
print(b)

print(a is b)

c = copy.copy(a)
d = copy.deepcopy(a)

print('c:', c)
print('d:', d)

a[0] = 100

aa[0] = 100

print(a)
print(b)

print('c:', c)
print('d:', d)

# print(c is a)
# print(d is a)

print(id(aa))
print(id(a[6]))
print(id(b[6]))
print(id(c[6]))
print(id(d[6]))
